<?php
include './base.php';
$sid=$_GET["sid"];
$sql="select * from roomsort where sid=$sid";
$res=mysql_query($sql);
$row=mysql_fetch_assoc($res);
print_r(json_encode($row));
?>